package scsc.web.xzgl.building.report.forms;


import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import scsc.web.system.AppActionForm;
import scsc.web.xzgl.building.report.data.StaticGraphData;

public class StaticGraphForm extends AppActionForm{
	private StaticGraphData conData;
	private String resultUrl;
	public StaticGraphData getConData() {
		return conData;
	}
	public void setConData(StaticGraphData conData) {
		this.conData = conData;
	}
	public String getResultUrl() {
		return resultUrl;
	}
	public void setResultUrl(String resultUrl) {
		this.resultUrl = resultUrl;
	}
	public StaticGraphForm() {
	    super();
	    conData=new StaticGraphData();
	    this.setResultUrl("");
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	    super.reset(mapping, request);
	    conData.reset();
	    this.setResultUrl( "");
	  }

	  public ActionErrors validate(ActionMapping mapping,
	                               HttpServletRequest request) {
	    ActionErrors errors = new ActionErrors();
	    return errors;
	  }
}
